redirect back laravel

33

Route::post('user/profile', function () {
    // Update the user's profile...

    return redirect('dashboard')->with('status', 'Profile updated!');
});
return back();

return redirect()->back();

return redirect()->previous();

Comments

Submit
0 Comments